Method and computer system for providing and processing a human interface description

ABSTRACT

Computer-implemented method, computer system and computer program product for providing and processing a human interface description. A user submits data  170  by using an human interface description  160 . The data  170  comprise status information of at least one layout element of human interface description  160.  The computer system receives  480  the data  170.  Optionally, the computer system stores  485  the data  170  in a data instance  150.  The data instance  150  can be modified by an application program via interface  155.  Preferably, the computer system provides the human interface description  160  by merging  470.  a layout template  140 - 1  with the data instance  150.  Preferably, the data instance  150  is instantiated from a data description  140 - 2.

FIELD OF THE INVENTION

[0001] The present invention generally relates to a human interface of a data processing system, and more particularly relates to a computer-implemented method and computer system to interact with a computer through a human interface.

BACKGROUND OF THE INVENTION

[0002] In prior art systems, human interfaces are described with a standardized human interface description language (SIDL). The term “human interface” as used hereinafter, describes any kind of application interface for a human to interact with application programs that run on a computer. Examples for human interfaces are graphical user interfaces (GUI) or voice user interfaces (VUI).

[0003] Typically the SIDL is a “Extensible Markup Language” (XML) based language that provides a set of layout components. A layout component comprises description instructions that describe a specific element of the human interface. These description instructions are called layout element (LE), hereinafter. A transformer program, comprising transformation rules, transforms the layout element into a browser compliant description.

[0004] A browser, as used hereinafter, is a computer program that “renders” a document which is written in a markup language, such as “Hyper Text Markup Language” (HTML), “Wireless Markup Language” (WML) or “Voice Extensible Markup Language” (VXML), into a visual or audio presentation of this document. A browser can be device specific. For example, a browser that renders a HTML document on a personal computer screen differs from a browser that renders a WML document on a wireless application protocol (WAP) cell phone display.

[0005] The browser compliant description can be rendered by a conventional browser into corresponding visual or audio layout elements on an output device of a computer as part of the human interface. In a SIDL the layout elements typically have a an application independent character, such as “row”, “cell”, “table”, “grid”, etc. Such layout elements can be reused in any context of any application.

[0006] In prior art human interfaces, often, the human interface is re-rendered in its initial state after a user interaction occurred. For example, when a user interacts with a web application by inputting data via the human interface and submitting the data to the web application, typically, after the submission of data the human interface shows all input fields with their initial values (e.g. empty or preset with a default value). Sometimes this is inconvenient because the user simply wants to correct a single input out of a plurality of inputs already made. In this case all previous inputs have to be re-entered. Also when complementing inputs already made earlier by a further input, all previous inputs have to be re-entered.

SUMMARY OF THE INVENTION

[0007] Hence, the present invention provides computer-implemented method, computer system and computer program product to solve the technical problem to prompt a user with a human interface after an interaction of the user with the computer, wherein the human interface “remembers” its status of before the interaction. “Remember” in this context is used to describe the ability of the inventive computer system to keep the status of a layout element, such as the expansion status of a hierarchy.

[0008] For convenience of explanation and without the intention of limiting the present invention, in the following description of the present invention it is assumed that the human interface is a graphical user-interface. However, the term “layout element”, as used hereinafter to describe a graphical layout element, also has a meaning in a voice human interface, where it corresponds to a sequence of sounds (e.g., spoken words) that follows a specific dialogue (interaction) schema.

[0009] The solution to the technical problem according to a preferred embodiment of the present invention is provided by the following characteristics: The inventive computer system

[0010] a) provides a human interface description to prompt an user for data input; and

[0011] b) receives data from the user, wherein the data comprise a status of at least one layout element of the human interface description.

[0012] Optionally, the inventive computer system

[0013] c) stores the data.

[0014] When providing a) the human interface description, in a preferred embodiment, the inventive computer system

[0015] d) provides a layout template and a data description;

[0016] e) instantiates a data instance from the data description; and

[0017] f) merges the data instance with the layout template into an human interface description.

[0018] Therefore, it is a further advantage of the present invention that the user, upon inputting data through the human interface and submitting the data, is prompted with an human interface that shows the same status as before the data submission occurred. For example, when the user has expanded a hierarchy to input data that relate to a certain node of the hierarchy, the expansion status of the hierarchy after data submission remains the same as of before data submission.

[0019] At any place in the description of the present invention where a style sheet language transformation, such as XSLT, is used to define transformation or conversion rules, alternatively, a person of skill in the art can implement these rules in any programming language, such as Java, as well.

[0020] The aspects of the invention will be realized and attained by means of the elements, and combinations particularly pointed out in the appended claims. It is to be understood that both, the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention as described.

BRIEF DESCRIPTION OF THE DRAWINGS

[0021]FIG. 1 illustrates a simplified block diagram of the inventive computer network system;

[0022]FIG. 2 illustrates a simplified flow chart of a preferred embodiment of the inventive method for providing and processing a human interface description;

[0023]FIG. 3 illustrates details of a method step;

[0024]FIG. 4 illustrates processing of documents and data according to the present invention; and

[0025]FIG. 5 illustrates a visual representation of an human interface description.

DETAILED DESCRIPTION

[0026] Wherever possible, the same reference numbers will be used throughout the drawings to refer to the same or like parts. For convenience of explanation the reference number table at the end or the description lists the most important reference numbers and their descriptions.

[0027]FIG. 1 illustrates a simplified block diagram of the inventive computer network system 999 having a plurality of computers 900, 901, 902 (or 90 q, with q=0 . . . Q−1, Q any number).

[0028] Computers 900-902 are coupled via inter-computer network 990. Computer 900 comprises processor 910, memory 920, bus 930, and, optionally, input device 940 and output device 950 (I/O devices, user interface 960). As illustrated, the invention is present by computer program product 100 (CPP), program carrier 970 and program signal 980, collectively “program”.

[0029] In respect to computer 900, computer 901/902, is sometimes referred to as “remote computer”, computer 901/902 is, for example, a server, a router, a peer device or other common network node, and typically comprises many or all of the elements described relative to computer 900. Hence, elements 100 and 910-980 in computer 900 collectively illustrate also corresponding elements 10 q and 91 q-98 q (shown for q=0) in computers 90 q.

[0030] Computer 900 is, for example, a conventional personal computer (PC); a desktop and hand-held device, a multiprocessor computer, a pen computer, a microprocessor-based or programmable consumer electronics, a minicomputer, a mainframe computer, a personal mobile computing device, a mobile phone, a portable or stationary personal computer, a palmtop computer or the like.

[0031] Processor 910 is, for example, a central processing unit (CPU), a micro-controller unit (MCU), digital signal processor (DSP), or the like.

[0032] Memory 920 symbolizes elements that temporarily or permanently store data and instructions. Although memory 920 is conveniently illustrated as part of computer 900, memory function can also be implemented in network 990, in computers 901/902 and in processor 910 itself (e.g., cachei register), or elsewhere. Memory 920 can be a read only memory (ROM), a random access memory (RAM), or a memory with other access options. Memory 920 is physically implemented by computer-readable media, such as, for example: (a) magnetic media, like a hard disk, a floppy disk, or other magnetic disk, a tape, a cassette tape; (b) optical media, like optical disk (CD-ROM, digital versatile disk—DVD); (c) semiconductor media, like DRAM, SRAM, EPROM, EEPROM, memory stick, or by any other media, like paper.

[0033] Optionally, memory 920 is distributed across different media. Portions of memory 920 can be removable or non-removable. For reading from media and for writing in media, computer 900 uses devices well known in the art such as, for example, disk drives, tape drives.

[0034] Memory 920 stores support modules such as, for example, a basic input output system (BIOS), an operating system (OS), a program library, a compiler, an interpreter, and a text processing tool. Support modules are commercially available and can be installed on computer 900 by those of skill in the art. For simplicity, these modules are not illustrated.

[0035] CPP 100 comprises program instructions and—optionally—data that cause processor 910, to execute method steps of the present invention. Method steps are explained with more detail below. In other words, CPP 100 defines the operation of computer 900 and its interaction in network system 999. For example and without the intention to be limiting, CPP 100 can be available as source code in any programming language, and as object code (“binary code”) in a compiled form. Persons of skill in the art can use CPP 100 in connection with any of the above support modules (e.g., compiler, interpreter, operating system).

[0036] Although CPP 100 is illustrated as being stored in memory 920, CPP 100 can be located elsewhere. CPP 100 can also be embodied in carrier 970.

[0037] Carrier 970 is illustrated outside computer 900. For communicating CPP 100 to computer 900, carrier 970 is conveniently inserted into input device 940. Carrier 970 is implemented as any computer readable medium, such as a medium largely explained above (cf. memory 920). Generally, carrier 970 is an article of manufacture comprising a computer readable medium having computer readable program code means embodied therein for executing the method of the present invention. Further, program signal 980 can also embody computer program 100. Signal 980 travels on network 990 to computer 900.

[0038] Having described CPP 100, program carrier 970, and program signal 980 in connection with computer 900 is convenient. Optionally, program carrier 971/972 (not shown) and program signal 981/982 embody computer program product (CPP) 101/102 to be executed by processor 911/912 (not shown) in computers 901/902, respectively.

[0039] Input device 940 symbolizes a device that provides data and instructions for processing by computer 900. For example, device 940 is a keyboard, a pointing device (e.g., mouse, trackball, cursor direction keys), microphone, joystick, game pad, scanner. Although the examples are devices with human interaction, device 940 can also operate without human interaction, such as, a wireless receiver (e.g., with satellite dish or terrestrial antenna), a sensor (e.g., a thermometer), a counter (e.g., goods counter in a factory). Input device 940 can serve to read carrier 970.

[0040] Output device 950 symbolizes a device that presents instructions and data that have been processed. For example, a monitor or a display, (cathode ray tube (CRT), flat panel display, liquid crystal display (LCD), speaker, printer, plotter, vibration alert device. Similar as above, output device 950 communicates with the user, but it can also communicate with further computers.

[0041] Input device 940 and output device 950 can be combined to a single device; any device 940 and 950 can be provided optional.

[0042] Bus 930 and network 990 provide logical and physical connections by conveying instruction and data signals. While, connections inside computer 900 are conveniently referred to as “bus 930”, connections between computers 900-902 are referred to as “network 990”. Optionally, network 990 comprises gateways being computers that specialize in data transmission and protocol conversion.

[0043] Devices 940 and 950 are coupled to computer 900 by bus 930 (as illustrated) or by network 990 (optional). While the signals inside computer 900 are mostly electrical signals, the signals in network, are electrical, magnetic, optical or wireless (radio) signals.

[0044] Networking environments (as network 990) are commonplace in offices, enterprise-wide computer networks, intranets and the internet (i.e. world wide web). The physical distance between a remote computer and computer 900 is not important. Network 990 can be a wired or a wireless network. To name a few network implementations, network 990 is, for example, a local area network (LAN), a wide area network (WAN), a public switched telephone network (PSTN); a Integrated Services Digital Network (ISDN), an infra-red (IR) link, a radio link, like Universal Mobile Telecommunications System (UMTS), Global System for Mobile Communication (GSM), Code Division Multiple Access (CDMA), or satellite link.

[0045] Transmission protocols and data formats are known, for example, as transmission control protocol/internet protocol (TCP/IP), hyper text transfer protocol (HTTP), secure HTTP, wireless application protocol, unique resource locator (URL), a unique resource identifier (URI), hyper text markup language HTML, extensible markup language (XML), extensible hyper text markup language (XHTML), wireless application markup language (WML), etc.

[0046] Interfaces coupled between the elements are also well known in the art. For simplicity, interfaces are not illustrated. An interface can be, for example, a serial port interface, a parallel port interface, a game port, a universal serial bus (USB) interface, an internal or external modem, a video adapter, or a sound card.

[0047] Computer and program are closely related. As used hereinafter, phrases, such as “the computer provides” and “the program provides”, are convenient abbreviation to express actions by a computer that is controlled by a program.

[0048] It is not important for the present invention, where computer programs, files or documents are stored in computer system 999. For convenience of explanation, they are stored in memory 920 of computer 900.

[0049]FIG. 2 illustrates a simplified flow chart of a preferred embodiment of the inventive method 400 for providing and processing a human interface description.

[0050] The human interface example that is used throughout the detailed description is a survey application example. The controller of a company wants to capture financial planning data for the fiscal year 2002 from other managers in the company. For this reason, the controller creates a survey questionnaire, comprising various question groups. Each question group refers to a specific field, such as “planned costs”, or “planned revenues”. Each question group can comprise various questions. The question used in this example belongs to the question group “planned costs” and captures “Planned travel costs 2002:”. Managers prompted with the questionnaire input their planning data next to the text of the question in a corresponding input field and submit the data after having filled in the relevant planning data.

[0051] All tables with program coding sections that are used in the description are exemplary and explanatory only and not intended to provide a fully functional computer program coding.

[0052] Preferably, method 400 comprises the following steps a) and b):

[0053] a) providing 475 human interface description 160 to prompt an user for data input; and

[0054] b) receiving 480 data 170 from the user, wherein the data 170 comprise a status of at least one layout element 122, 123, 124-1, 124-2, 125, 126, 127 of human interface description 160.

[0055] In the preferred embodiment of method 400 the providing step 475 comprises, the further steps d) to f):

[0056] d) providing 450 layout template 140-1 and data description 140-2;

[0057] e) instantiating 460 data instance 150 from data description 140-2; and

[0058] f) merging 470 data instance 150 with layout template 140-1 into human interface description 160.

[0059] Method 400 further comprises the optional step

[0060] c) storing 485 (dashed line) data 170.

[0061] The steps are now explained in detail.

[0062] In the providing step 475, computer system 999 (cf. FIG. 1), provides human interface description 160 (cf. FIG. 4) and a conventional browser renders human interface description 160 on an output device (e.g. output device 950; cf. FIG. 1) to prompt an user. Details of a preferred embodiment of the providing 475 step are described under FIG. 3. Preferably, human interface description 160 is written in a markup language, such as XHTML. Table 1 shows a XHTML example of human interface description 160 in the survey example. HTML instructions are known in the art and, therefore, are not explained in detail. The following line numbers refer to table 1. Line 4 represents two functions (e.g. JavaScript functions). Function a) sets a cursor position when human interface description 160 is loaded. Function b) determines the current cursor position when the user submits data through the human interface 951 (cf. FIG. 5). Further, function b) transfers the value of the cursor position to a first input field instruction in human interface description 160 (line 10). Preferably, the first input field is a hidden field. Second input field instruction with name attribute “//survey/planned_costs/travel” (line 19) corresponds to LE FieldInput 125. Each input field represents a data set of data 170 (cf. FIG. 4). TABLE 1 human interface description 160 in the survey example Line Code 1 <?xml version=“1.0” encoding=“utf-8”?> <html xmlns=“http://www.w3.org/TR/xhtml1”> 2   <head> 3   ... 4   <!-Functions (e.g. JavaScript):     a) set cursor on page display     b) determine cursor position on page submission     --> 5   ... 6   </head> 7   <body> 8    <form method=“post” name=“survey”> 9    ... 10    <input type hidden name=“//env:envelope/        env:states/uicl:page/@cursorPos”      value=”/survey/planned_costs/travel”/> 11    ... 12    <table> 13     <tr> 14      <td> 15       <span>Planned travel costs 2002 :</span> 16      </td> 17      <td> 18       <span> 19        <input name=“//survey/planned_costs/         travel” type=“text” value=“0.0”/> 20       </span> 21      </td> 22     </tr> 23    </table> 24     ... 25    </form> 26   </body> 27 </html>

[0063] When computer system 999 renders human interface description 160, the user is prompted with a screen that has a structure similar to the layout elements shown in FIG. 5. The user reads the question text in LE TextOutput 126 (line 15) and is expected to input data in LE FieldInput 125, that corresponds to the second input field instruction, where a default value 125-1 (cf. FIG. 5, “0.0”) is displayed (line 19). If more than one question is displayed, the user can perform more than one data input. After having finished all data inputs, the user submits data 170 (cf. FIG. 4; table 2). For example submission of data 170 is performed by selecting an “ENTER” key on input device 940 (cf. FIG. 1).

[0064] In the receiving data step 480, a computer of computer system 999 (e.g. computer 900, cf. FIG. 1) receives data 170 from the user via user interface 960 (cf. FIG. 1). Data 170 comprise at least one data set.

[0065] Preferably, data 170 are received in a format that comprises a name and a value for each data set of data 170 (cf. table 2). Preferably, the name of each data set corresponds to a XPath.

[0066] XPath (XML Path language) is a language that describes a, way to locate and process items in XML documents by using an addressing syntax based on a path through the document's logical structure or hierarchy. The XPath language is described in the “XPath W3C Recommendation Version 1.0, Nov. 16, 1999”. XPath also allows the application programmer to deal with the document at a higher level of abstraction. XPath is a language that is used by and specified as part of both, XSLT and XPointer (SML Pointer Language). It uses the information abstraction defined in the XML Information Set (Infoset). Since XPath does not use XML syntax itself, it could be used in contexts other than those of XML.

[0067] Table 2 illustrates data 170 in the survey example:. Each row of table 2 corresponds to a data set of data 170. In the example, the name of each data set is a XPath. TABLE 2 format of data 170 in the survey example Name Value //env:envelope/env:states/uicl: /survey/planned_costs/ page/@cursorPos travel //survey/planned_costs/travel 5000 . . . . . .

[0068] A first data set (table 2, line 2) corresponds to the first input field instruction and represents the status information of layout element page 127 (cf. table 1, line 10; FIG. 5). The status of a layout element comprises information about the layout element at the point in time when the user submits data 170. In the survey example, the status of LE page 127 is the position of a cursor on page 127 (cf. FIG. 5). In case, the user inputs data into more than one LE FieldInput 125 (cf. FIG. 5), the cursor typically stays in the LE that received the last data input. For convenience of explanation, only LE FieldInput 125 is considered. In the example, the status “cursorPos” of LE page 127 is a unique pointer to LE 125. Such a pointer can be implemented as a unique ID for each LE. In the survey example, the data path “/survey/planned_costs/travel” (cf. value column of line 2 of table 2) serves as unique ID for LE FieldInput 125. Assuming that the cursor is in LE 125 when the user submits data 170 the status cursorpos of page 127 is set to “/survey/planned_costs/travel” in the first input field instruction of human interface description 160. This is achieved by using function b) (cf. table 1, line 4b) that determines the cursor position and transfers the cursor position value to the first input field instruction of document 160 (cf. table 1, line 10). The first input field content is part of data 170 (cf. data set in table 2, second row). Preferably, the name attribute of the first input field instruction “//env:envelope/env:states/uicl:page/@cursorPos” corresponds to a “state”-location (<env:states>; cf. table 2, line 6) in data instance 150. How to provide individual document description 160 by using data instance 150 is explained in detail under FIG. 3.

[0069] In the optional storing data step 485 (dashed lines), data 170 are stored in a memory. Preferably, data 170 are stored in data instance 150. In the example, the XPath in the name column of table 2 is compliant with data instance 150 structure (cf. table 3) and indicates the storage location of the corresponding value of each data set.

[0070] The value=“/survey/planned_costs/travel” is stored as value of page 127 attribute cursorPos (cf. table 3, line 7.) at “state”-location *<env:envelope><env:states><uicl:page . . . cursorPos=“. . .”> (cf. table 3, lines 6-9). Optionally, data 170 can also be stored elsewhere (e.g. in any memory 920, 921, 922 of computer, system 999). When individual document description 160 is rendered at least a second time, function a) (cf. table 1, line 4a) is executed to retrieve the page 127 layout element status information from data instance 150 and sets the cursor position accordingly.

[0071] Optionally, a second data set (cf. table 3, third row) of data 170 for the planned travel cost is stored in data instance 150 at the corresponding location. In the survey example, the storage location in data instance 150 is implicitly known from the name column of table 2 (e.g. “//survey/planned_costs/travel”). The corresponding value (“5000”, line 13) was entered by the user as planned travel cost value.

[0072] Preferably, data instance 150 is a markup language document, such as an XML document. Table 3 gives a XML example of data instance 150 in the survey example. The following line numbers refer to table 3. Table 3 illustrates an XML envelope (lines 2, 17). comprising runtime dependent data user name (“USER1”, line 4) in its header (lines, 3, 5), whereas a data description (lines 11-13) forms its body (lines 10, 16). Layout element status information is stored in lines 6-9. The envelope name space is represented by the prefix “env:”.

[0073] Optionally, after having stored or before storing data 170, the data 170 can be processed by an application program (e.g. computer program 101, cf. FIG. 1) by using interface 155, similar to the description of the merging step 470 in FIG. 3. TABLE 3 data instance document 150 Line Code 1 <?xml version=“1.0” encoding=“utf-8”?> 2 <env:envelope   xmlns:env=“http://www.sap.com/sapsurvey/env”> 3   <env:header> 4    <env:user>USER1</env:user> 5   </env:header> 6   <env:states> 7    <uicl:page id=“survey”    cursorPos=“/survey/planned_costs/travel”    xmlns:uicl=“http://www.sap.com/sapsurvey/ page”/> 8    ... 9   </env:states> 10   <env:body> 11    <survey> 12     <planned_costs> 13      <travel>5000</travel> 14     </planned_costs 15    </survey> 16   </env:body> 17 </env:envelope>

[0074]FIG. 3 illustrates details of providing step 475. Providing step 475 comprises the further steps

[0075] d) providing 450 layout template 140-1 (cf. FIG. 4) and data description 140-2 (cf. FIG. 4);

[0076] e) instantiating 460 data instance 150 (cf. FIG. 4) from data description 140-2; and

[0077] f) merging 470 data instance 150 with layout template 140-1 into human interface description 160 (cf. FIG. 4).

[0078] The steps d) to f) are now explained in detail.

[0079] In the providing 450 step, computer system 999 provides layout template 140-1 <and data description 140-2. For example, layout template 140-1 and data description 140-2 are retrieved from memory 920 (cf. FIG. 1).

[0080] Preferably, layout template 140-1 is a style sheet language transformation, such as XSLT, that comprises XSL instructions with layout information. These instructions are applied to a XML document, such as data instance 150, that comprises data. Table 4 shows layout template 140-1 that is used in the survey example.

[0081] The function of layout template 140-1 is explained in detail in the merging step 470 description of FIG. 3. TABLE 4 layout template document 140-1 in the survey example Line Code 1 <?xml version=“1.0” encoding=“utf-8”?> 2 <xsl:transform version=“1.0” xmlns:xsl=      “http://www.w3.org/1999/XSL/Transform”> 3 <xsl:template match=“/”> 4 ... 5 <html> 6 <form method=“post” name=“survey”> 7 <table class=“Grid”> 8   <xsl:if test=“{boolean(//survey/planned_costs/ travel) }”> 9    <tr class=“row”> 10     <td><span class=“TextOutput”>Planned         travel costs 2002 :</span></td> 11     <td><input class=“InputField”          name=“//survey/planned_cost/ travel”       type=“text”> 12        <xsl:attribute name=“value”> 13         <xsl:value-of select=          “//env:envelope/env:body/          survey/planned_costs/travel”/> 14        </xsl:attribute> 15     </input></td> 16    </tr> 17   </xsl:if> 18 </table> 19 </form> 20 </html> 21 ... 22 </xsl:template> 23 </xsl:transform>

[0082] Preferably, data description document 140-2 is written in a markup language, such as XML. The data description 140-2 that is used in the survey example is shown in table 5. The following line numbers refer to table 5. Line 1 indicates a XML document. Lines 2-4 define the data path “//survey/planned_costs/travel” of default value “0.0” (line 4). The closing, tags </ . . . >(lines 4 to 6) complete the definition of the data path. TABLE 5 data description document 140-2 in the survey example Line Code 1 <?xml version=“1.0” encoding=“utf-8”?> 2 <survey> 3   <planned_costs> 4    <travel>0.0</travel> 5   </planned_costs> 6 </survey>

[0083] In the instantiating step 460, computer system 999 complements data description 140-2 by further, runtime dependent data (data that are created or modified during runtime) resulting in data instance 150 (cf. table 3). Examples for runtime dependent data are user name, document creation date, session ID, error messages, layout element status etc.

[0084] If required, data instance .150 is modified, for example, by an application program (e.g. computer program 101, on computer 901). This is achieved through interface 155. For example, computer system 999 (cf. FIG. 1) transfers data of data instance 150 (e.g. on computer 900) to the application program through interface, 155 and data instance 150 receives modified data from the application program through interface 155. The advantage is an application specific initialization of data instance 150. For example, in the survey example a user (e.g. USER1, cf. table 3, line 4) wants to input the planned travel costs for the fiscal year. The default value that is derived from the corresponding data description 140-2 is “0.0” (cf. table 3, line 9). In the example, the application program knows the real travel cost of the user for the previous fiscal year. The application program is called through interface 155 and runs a query for the previous travel cost. The result value is returned to data instance 150 through interface 155 and replaces the old default value.

[0085] In the merging step 470, layout template 140-1 is applied to data instance 150. Preferably, this corresponds to a style sheet transformation (cf. table 4) of data instance 150 where layout element information is merged with data. For convenience of explanation, resulting human interface description 160 is discussed by using the second input field instruction in line 19 of table 1 as an example, because it comprises both, layout information and data. The following line numbers without explicit table reference refer to table 4 (layout template 140-1).

[0086] Lines 11-15 generate line 19 of table 1. Line 11 generates the second, input field instruction with the name attribute “//survey/planned_costs/travel” and the type attribute “text”. Lines 12, 14 define the value attribute. Line 13 comprises an instruction to get the value of the value attribute from a location with “//env:envelope/env:body/survey/planned_costs/travel” as data path. When this instruction is applied to data instance 150, the corresponding value (cf. table 3, line 13) is retrieved as the value of the value attribute of the second input field instruction. When human interface description 160 is merged in the survey example with data instance 150 for the first time, the value would either be the default value “0.0” from data description 140-2 or a value that was modified by an application program through interface 155. When the merging is performed after the user submitted data 170, the value would be the user input “5000” stored in data instance 150 (cf. line 13 of table 3) or a value that was modified by an application program through interface 155.

[0087]FIG. 4 illustrates processing of documents and data according to the present invention.

[0088] The user submits data 170 by using human interface description 160. Data 170 comprise status information of at least one layout element 122, 123, 124-1, 124-2, 125, 126, 127 (cf. FIG. 5). Computer system 999 (cf. FIG. 1) receives 480 data 170 optionally, computer system 999 stores 485 data 170 in data instance 150. Data instance 150 can be modified by an application program (e.g. computer program 101, cf. FIG. 1) via interface 155. Preferably, computer system 999 provides human interface description 160 by merging 470 layout template 140-1 with data instance 150. Preferably, data instance 150 is instantiated from data description 140-2.

[0089]FIG. 5 illustrates a visual representation of individual document description 160 on-human interface 951.

[0090] In the survey example, XHTML instructions (cf. table 1) of individual document description 160 result in layout elements page 127, grid 122, row 123, cells 124-1, 124-2, TextOutput field 126, FieldInput 125 and attribute 125-1. Preferably, a conventional browser renders individual document description 160 to prompt a user with human interface 951 for data input into field 125 on output device 950 (cf. FIG. 1).

[0091] Having described the present invention as computer-implemented method 400 the invention is now described as computer system 999.

[0092] The inventive computer system 999 provides and processes a human interface description.

[0093] It is assumed that computer 900 (cf. FIG. 1) is the operating computer. A person of skill in the art can implement the invention also in a client-server system, where a server computer (e.g. computer 901, cf. FIG. 1) is used for data processing and a client computer (e.g. computer 900) serves as a front-end computer for the user.

[0094] A preferred embodiment of computer system 999 comprises the following means:

[0095] a) a means for providing 475 (cf. FIG. 2) human interface description 160 (cf. FIG. 4) to prompt an user for data input; and

[0096] b) a means for receiving 480 (cf. FIG. 2) data 170 (cf. FIG. 4) from the user, wherein the data 170 comprise a status of at least one layout element 122, 123, 124-1, 124-2, 125, 126, 127 of human interface description 160.

[0097] Preferably, means a) comprises a conventional browser program (not shown), such as the Microsoft Internet Explorer or the Netscape Navigator, executed by a processor of a computer (e.g. processor 910 of computer 900) and a computer program for retrieving human interface description 160 from memory 920. The browser renders human interface description 160 and displays the result as human interface 951 (cf. FIG. 5) on output device 950 (cf. FIG. 1). Preferably, human interface 951 prompts a user to input data 170 through human interface 951. The user inputs data via input device 940 (cf. FIG. 1). For example, the user selects a displayed input field in human interface 951 via a mouse device and enters data via a keyboard or even a microphone. A function in human interface description 160 (e.g. a JavaScript function) determines the status of at least one layout element 122, 123, 124-1, 124-2, 125, 126, 127 (cf. FIG. 5) and, preferably, transfers the status to a first input field instruction (cf. table 1, line 10) of human, interface description 160. The content of the first input field instruction becomes part of submitted data 170. Preferably, data 170 have a format according to table 2. Like other data sets of data 170, preferably, the status also comprises a name with the XPath.

[0098] Preferably, means b) comprises the browser program and the basic input/output system (BIOS) of computer 900. The BIOS is receiving signals from input device 940 via bus 930 (cf. FIG. 1) For example, the signals are interpreted as characters or bitmaps or any other pattern that can be appropriately displayed or played by the browser on output device 950. Upon submission of data 170 by the user (e.g. by using the ENTER key of a conventional keyboard), computer 900 receives data 170 via bus 930.

[0099] Optionally, in the preferred embodiment, computer system 999 further comprises

[0100] c) a means for storing 485 (cf. FIG. 2) data 170 (cf. FIG. 4). Preferably, means c) comprises a storage program and a XML document. The storage program automatically stores data 170 in the runtime memory portion of memory 920 that belongs to the XML document (e.g. data instance 150; cf. FIG. 4). Preferably, the exact storage address is derived from the XPath in the name of each data set of table 2.

[0101] In a preferred embodiment, means a) further comprises means d), e) and f):

[0102] d) a means for providing 450 layout template 140-1 and data description 140-2;

[0103] e) a means for instantiating 460 (cf. FIG. 2) data instance 150 (cf. FIG. 7) from data description 140-2; and

[0104] f) a means for merging 470 (cf. FIG. 2) data instance 150 with layout template 140-1 into human interface description 160 (cf. FIG. 7).

[0105] Preferably means d) is a computer program that retrieves layout template 140-1 and data description 140-2 from a storage location either inside (e.g. memory 920) or outside of computer system 999 and stores layout template 140-1 and data description 140-2 in a memory of computer system 999 (e.g. memory 920) that can be accessed by means e) and f).

[0106] Preferably, means e) is a computer program that reads data description 140-2 from memory 920 and creates data instance document 150 in a runtime portion of memory 920 (e.g. a RAM for storing runtime data) by adding runtime dependent data to the data of data description 140-2. Runtime dependent data are created or modified, e.g. by an application program (e.g. 101 on computer 901, cf. FIG. 1 description), during runtime. Table 3 shows an example of data instance 150, which is implemented as a markup language document.

[0107] Preferably, means f) comprises layout template 140-1, which is a style sheet language transformation document (cf. table 4) in the example. Processor 910 reads layout template 140-1 from memory 920 and applies it to data instance 150. The result is individual human interface description 160 (cf. XHTML example in table 1), which is a markup language document that is stored in a runtime portion of memory 920.

[0108] Having described the present invention as computer implemented method 400 and computer system 999, it is now described as a computer program product 100 (cf. FIG. 1) that can be stored on a computer readable data carrier 970 (cf. FIG. 1).

[0109] Computer program product 100 has a plurality of instructions for causing a processor (e.g. processor 910) of a computer (e.g. computer 900) to create and process a human interface description. Computer program product 100 causes computer 900 to execute the following steps a) and b):

[0110] a) providing 475 human interface description 160 to prompt an user for data input; and

[0111] b) receiving 480 data 170 from the user, wherein the data 170 comprise a status of at least one layout element 122, 123, 124-1, 124-2, 125, 126, 127 of human interface description 160.

[0112] Computer program product 100 causes computer 900 to further execute the optional step

[0113] c) storing 485 the data 170.

[0114] In a preferred embodiment of the present invention computer program product 100 causes computer 900 to execute the providing step a) through the following sub-steps d) to f):

[0115] d) providing 450 layout template 140-1 and data description 140-2;

[0116] e) instantiating 460 data instance 150 from data description 140-2; and

[0117] f) merging 470 data instance 150 with layout template 140-1 into human interface description 160.

[0118] Computer program 100 steps a) to f) are equivalent to method 400 steps a) to f) described in detail under FIGS. 2 and 3.

[0119] Computer program product 100 can be stored on computer readable data carrier (e.g. data carrier 970). Reference number table Reference Description 100, 101, 102 Computer program products 140-1 Layout template 140-2 Data description 150 Data instance 155 Application interface 160 Human interface description 170 Data 400 Method 4xx Method steps 999 Computer network system 900, 901, 902 Computers 910, 911, 912 Processors 920, 921, 922 Memories 930 Bus 940 Input device 950 Output device 951 Cursor 960 User interface 970 Program/data carrier (computer readable device) 980 Program signal 

1. A computer-implemented method for providing and processing a human interface description, the method comprising the steps of: providing an human interface description to prompt a user for data input; and receiving data from the user, wherein the data comprise a status of at least one layout element of the human interface description.
 2. The method of claim 1, wherein the providing step further comprises the steps of: providing a layout template and a data description; instantiating a data instance from the data description; and merging the data instance with the layout template into an human interface description.
 3. The method of claim 1, further comprising the step of: storing the data.
 4. The method of claim 2, wherein the merging step uses a transformation program in a programming language.
 5. The method of claim 4, wherein the transformation program is a style sheet language transformation.
 6. The method of claim 1, wherein in the receiving step, the data comprise a XPath.
 7. A computer system for providing and processing a human interface description, the computer system comprising: means for providing an human interface description to prompt an user for data input; and means for receiving data from the user, wherein the data comprise a status of at least one layout element of the human interface description.
 8. The computer system of claim 7, wherein the means for providing further comprises: means for providing a layout template and a data description; means for instantiating a data instance from the data description; and means for merging the data instance with the layout template into an human interface description.
 9. The computer system of claim 7, further comprising means for storing the data.
 10. A computer program product having a plurality of instructions for causing a processor of a computer to provide and process a human interface description, the computer program product causing the computer to execute the following steps: providing an human interface description to prompt an user for data input; and receiving data from the user, wherein the data comprise a status of at least one layout element of the human interface description.
 11. The computer program product of claim 10, wherein the computer program product causes the computer to execute the providing step through the steps of: providing a layout template and a data description; instantiating a data instance (150) from the data description; and merging the data instance with the layout template into an human interface description.
 12. The computer program product of claim 10, wherein the computer program product causes the computer to further execute the step of: storing the data.
 13. A data carrier readable by a computer; the data carrier storing a plurality of instructions for causing a processor of the computer to create and process a human interface description, the plurality of instructions causing the computer to execute the method according to any one of claims 1, 2 and
 3. 